.@{table-prefix-cls}-large {
  font-size: @font-size-lg !important;
  >.@{table-prefix-cls}-title,
  >.@{table-prefix-cls}-content>.@{table-prefix-cls}-footer {
    height: @table-cell-height-lg;
    padding: @table-padding-vertical-lg @table-padding-horizontal-lg;
  }

  >.@{table-prefix-cls}-content {

    >.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table {

      >.@{table-prefix-cls}-thead>tr>th,
      >.@{table-prefix-cls}-tbody>tr>td {
        height: @table-cell-height-lg;
        padding: @table-padding-vertical-lg @table-padding-horizontal-lg;
      }
    }
  }

  tr.@{table-prefix-cls}-expanded-row td>.@{table-prefix-cls}-wrapper {
    margin: -@table-padding-vertical-lg -@table-padding-horizontal / 2 -@table-padding-vertical-lg - 1px;
  }
}

.@{table-prefix-cls}-small {
  border       : @border-width-base @border-style-base @border-color-split;
  border-radius: @table-border-radius-base;

  >.@{table-prefix-cls}-title,
  >.@{table-prefix-cls}-content>.@{table-prefix-cls}-footer {
    height: @table-cell-height-sm;
    padding: @table-padding-vertical-sm @table-padding-horizontal-sm;
  }

  >.@{table-prefix-cls}-title {
    top          : 0;
    border-bottom: @border-width-base @border-style-base @border-color-split;
  }

  >.@{table-prefix-cls}-content>.@{table-prefix-cls}-footer {
    //background-color: transparent;
    border-top      : @border-width-base @border-style-base @border-color-split;

    /* &::before {
      background-color: transparent;
    } */
  }

  >.@{table-prefix-cls}-content {
    /* >.@{table-prefix-cls}-body {
      margin: 0 @table-padding-horizontal-sm;
    } */

    >.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table {
      border: 0;

      >.@{table-prefix-cls}-thead>tr>th,
      >.@{table-prefix-cls}-tbody>tr>td {
        height: @table-cell-height-sm;
        padding: @table-padding-vertical-sm @table-padding-horizontal-sm;
      }

      /* >.@{table-prefix-cls}-thead>tr>th {
        background-color: @table-header-bg-sm;
      } */

      >.@{table-prefix-cls}-thead>tr {
        border-bottom: @border-width-base @border-style-base @border-color-split;
      }

      >.@{table-prefix-cls}-thead>tr>th.@{table-prefix-cls}-column-sort {
        background-color: @table-body-sort-bg;
      }
    }

    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table {
      padding: 0;
    }

    .@{table-prefix-cls}-header {
      background-color: @table-header-bg-sm;
      border-radius   : @table-border-radius-base @table-border-radius-base 0 0;
    }

    .@{table-prefix-cls}-placeholder,
    .@{table-prefix-cls}-row:last-child td {
      border-bottom: 0;
    }
  }

  &.@{table-prefix-cls}-bordered {
    border-right: 0;

    .@{table-prefix-cls}-title {
      border       : 0;
      border-right : @border-width-base @border-style-base @border-color-split;
      border-bottom: @border-width-base @border-style-base @border-color-split;
    }

    .@{table-prefix-cls}-content {
      border-right: @border-width-base @border-style-base @border-color-split;
    }

    .@{table-prefix-cls}-footer {
      border    : 0;
      border-top: @border-width-base @border-style-base @border-color-split;

      &::before {
        display: none;
      }
    }

    .@{table-prefix-cls}-placeholder {
      border-right : 0;
      border-bottom: 0;
      border-left  : 0;
    }

    .@{table-prefix-cls}-thead>tr>th.@{table-prefix-cls}-row-cell-last,
    .@{table-prefix-cls}-tbody>tr>td:last-child {
      border-right: none;
    }

    .@{table-prefix-cls}-fixed-left {

      .@{table-prefix-cls}-thead>tr>th:last-child,
      .@{table-prefix-cls}-tbody>tr>td:last-child {
        border-right: @border-width-base @border-style-base @border-color-split;
      }
    }

    .@{table-prefix-cls}-fixed-right {
      border-right: @border-width-base @border-style-base @border-color-split;
      border-left : @border-width-base @border-style-base @border-color-split;
    }
  }

  tr.@{table-prefix-cls}-expanded-row td>.@{table-prefix-cls}-wrapper {
    margin: -@table-padding-vertical-sm -@table-padding-horizontal / 2 -@table-padding-vertical-sm - 1px;
  }

  &.@{table-prefix-cls}-fixed-header>.@{table-prefix-cls}-content>.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body {
    border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
  }
}




.@{table-prefix-cls}-mini {
  border       : @border-width-base @border-style-base @border-color-split;
  border-radius: @table-border-radius-base;
  font-size: @font-size-mini !important;

  >.@{table-prefix-cls}-title,
  >.@{table-prefix-cls}-content>.@{table-prefix-cls}-footer {
    height: @table-cell-height-mini;
    padding: @table-padding-vertical-mini @table-padding-horizontal-mini;
  }

  >.@{table-prefix-cls}-title {
    top          : 0;
    border-bottom: @border-width-base @border-style-base @border-color-split;
  }

  >.@{table-prefix-cls}-content>.@{table-prefix-cls}-footer {
    //background-color: transparent;
    border-top      : @border-width-base @border-style-base @border-color-split;

    /* &::before {
      background-color: transparent;
    } */
  }

  >.@{table-prefix-cls}-content {
    /* >.@{table-prefix-cls}-body {
      margin: 0 @table-padding-horizontal-mini;
    } */
    >.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table {
      border: 0;

      >.@{table-prefix-cls}-thead>tr>th,
      >.@{table-prefix-cls}-tbody>tr>td {
        height: @table-cell-height-mini;
        padding: @table-padding-vertical-mini @table-padding-horizontal-mini;
      }

      /* >.@{table-prefix-cls}-thead>tr>th {
        background-color: @table-header-bg-sm;
      } */

      >.@{table-prefix-cls}-thead>tr {
        border-bottom: @border-width-base @border-style-base @border-color-split;
      }

      >.@{table-prefix-cls}-thead>tr>th.@{table-prefix-cls}-column-sort {
        background-color: @table-body-sort-bg;
      }
    }

    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-header>table,
    >.@{table-prefix-cls}-fixed-left>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table,
    >.@{table-prefix-cls}-fixed-right>.@{table-prefix-cls}-body-outer>.@{table-prefix-cls}-body-inner>table {
      padding: 0;
    }

    .@{table-prefix-cls}-header {
      //background-color: @table-header-bg-sm;
      border-radius   : @table-border-radius-base @table-border-radius-base 0 0;
    }

    .@{table-prefix-cls}-placeholder,
    .@{table-prefix-cls}-row:last-child td {
      border-bottom: 0;
    }
  }

  &.@{table-prefix-cls}-bordered {
    border-right: 0;

    .@{table-prefix-cls}-title {
      border       : 0;
      border-right : @border-width-base @border-style-base @border-color-split;
      border-bottom: @border-width-base @border-style-base @border-color-split;
      padding: 0;
      line-height: 1.5;
    }

    .@{table-prefix-cls}-content {
      border-right: @border-width-base @border-style-base @border-color-split;
    }

    .@{table-prefix-cls}-footer {
      border    : 0;
      border-top: @border-width-base @border-style-base @border-color-split;

      &::before {
        display: none;
      }
    }

    .@{table-prefix-cls}-placeholder {
      border-right : 0;
      border-bottom: 0;
      border-left  : 0;
    }

    .@{table-prefix-cls}-thead>tr>th.@{table-prefix-cls}-row-cell-last,
    .@{table-prefix-cls}-tbody>tr>td:last-child {
      border-right: none;
    }

    .@{table-prefix-cls}-fixed-left {

      .@{table-prefix-cls}-thead>tr>th:last-child,
      .@{table-prefix-cls}-tbody>tr>td:last-child {
        border-right: @border-width-base @border-style-base @border-color-split;
      }
    }

    .@{table-prefix-cls}-fixed-right {
      border-right: @border-width-base @border-style-base @border-color-split;
      border-left : @border-width-base @border-style-base @border-color-split;
    }
  }

  tr.@{table-prefix-cls}-expanded-row td>.@{table-prefix-cls}-wrapper {
    margin: -@table-padding-vertical-mini -@table-padding-horizontal / 2 -@table-padding-vertical-mini - 1px;
  }

  &.@{table-prefix-cls}-fixed-header>.@{table-prefix-cls}-content>.@{table-prefix-cls}-scroll>.@{table-prefix-cls}-body {
    border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
  }
}